import 'package:flutter/material.dart';
import 'package:shenling_logistics/pages/task/components/noTaskComp.dart';

class WayTaskPage extends StatefulWidget {
  const WayTaskPage({super.key});

  @override
  State<WayTaskPage> createState() => _WayTaskPageState();
}

class _WayTaskPageState extends State<WayTaskPage> {
  // 定义在途任务数据
  List wayTaskList = [];
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: wayTaskList.isEmpty
          ? NoTaskComp(title: '无在途任务')
          : ListView.builder(
              itemBuilder: (BuildContext context, int index) {
                return Container();
              },
            ),
    );
  }
}
